package com.blb.ssh.aop;

import org.aspectj.lang.ProceedingJoinPoint;

public class logaop {
	public void afterlog(){
		System.out.println("后置通知");
	}
	
	public void beforelog(){
		System.out.println("前置通知");
	}
	
	public void aroundlog(ProceedingJoinPoint pjp) throws Throwable{
		System.out.println("前置通知");
		pjp.proceed();
		System.out.println("后置通知");
	}
	public static void exceptionLog(){
		System.out.println("开始记录错误日志...");
	}
}
